<template>
  <shadowAnimated :interval="3000" :is-inset="true" :sm-size="5" :big-size="20">
    <div class="item-wrapper">
      <div class="item">
        <img src="~/assets/images/icon/1.svg" alt="">
        <div class="item-content">
          <div class="item-title">超融合</div>
          <div class="item-info-wrapper">
            <span class="item-number"><animatedInteger :value="this.dataItems.crh"></animatedInteger></span>
            <span class="item-lable">套</span>
          </div>
        </div>
      </div>
      <div class="item">
        <img src="~/assets/images/icon/2.svg" alt="" style="width: 32%;height: 32%">
        <div class="item-content">
          <div class="item-title">防火墙</div>
          <div class="item-info-wrapper">
            <span class="item-number"><animatedInteger :value="dataItems.fhq"></animatedInteger></span>
            <span class="item-lable">个</span>
          </div>
        </div>
      </div>
      <div class="item"><img src="~/assets/images/icon/3.svg" alt="">
        <div class="item-content">
          <div class="item-title">负载均衡</div>
          <div class="item-info-wrapper">
            <span class="item-number"><animatedInteger :value="dataItems.fzjh"></animatedInteger></span>
            <span class="item-lable">个</span>
          </div>
        </div>
      </div>
      <div class="item"><img src="~/assets/images/icon/4.svg" alt="">
        <div class="item-content">
          <div class="item-title">路由器</div>
          <div class="item-info-wrapper">
            <span class="item-number"><animatedInteger :value="dataItems.lyq"></animatedInteger></span>
            <span class="item-lable">个</span>
          </div>
        </div>
      </div>
      <div class="item"><img src="~/assets/images/icon/5.svg" alt="">
        <div class="item-content">
          <div class="item-title">纳管云</div>
          <div class="item-info-wrapper">
            <span class="item-number"><animatedInteger :value="dataItems.ngy"></animatedInteger></span>
            <span class="item-lable">个</span>
          </div>
        </div>
      </div>
      <div class="item">
        <img src="~/assets/images/icon/6.svg" alt="">
        <div class="item-content">
          <div class="item-title">业务系统</div>
          <div class="item-info-wrapper">
            <span class="item-number"><animatedInteger :value="dataItems.ywxt"></animatedInteger></span>
            <span class="item-lable">个</span>
          </div>
        </div>
      </div>
      <div class="item"><img src="~/assets/images/icon/7.svg" alt="">
        <div class="item-content">
          <div class="item-title">云存储</div>
          <div class="item-info-wrapper">
            <span class="item-number"><animatedInteger :value="dataItems.ycc"></animatedInteger></span>
            <span class="item-lable">TB</span>
          </div>
        </div>
      </div>
      <div class="item"><img src="~/assets/images/icon/8.svg" alt="">
        <div class="item-content">
          <div class="item-title">云主机</div>
          <div class="item-info-wrapper">
            <span class="item-number"><animatedInteger :value="dataItems.yzj"></animatedInteger></span>
            <span class="item-lable">个</span>
          </div>
        </div>
      </div>
      <div class="item"><img src="~/assets/images/icon/9.svg" alt="">
        <div class="item-content">
          <div class="item-title">租户</div>
          <div class="item-info-wrapper">
            <span class="item-number"><animatedInteger :value="dataItems.zh"></animatedInteger></span>
            <span class="item-lable">个</span>
          </div>
        </div>
      </div>
    </div>
  </shadowAnimated>
</template>
<script>
  import shadowAnimated from '@/components/shadow-animated';
  import animatedInteger from '@/components/animated-integer';
  export default {
    props: {
      dataItems: {
        type: Object,
        required: true
      }
    },

    components: {
      shadowAnimated,animatedInteger
    }
  }
</script>
<style lang="less" scoped>
  .item-wrapper {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 24px;
    /*border-radius: 5px;*/
    .item {
      text-align: center;
      flex: 1 0 auto;
      color: #00D6FF;
      display: flex;
      flex-direction: row;
      justify-content: center;
      align-items: center;
      img {
        width: 25%;
      }
      .item-title {
        font-size: 18px;
      }
      .item-content {
        padding-left: 16px;
        .item-info-wrapper {
          color: #fff;

        }
      }
    }
  }
</style>
